
#if defined(__IPHONE_3_0)

#ifndef IOSWINDOW_H_
#define IOSWINDOW_H_

#include "Core.h"
#include "Window.h"

namespace p2
{
    
class IOSWindow : public p2Window
{
public:
    IOSWindow(p2WindowCreateStruct const& cs);
    virtual ~IOSWindow();
    
    int32 create();
    void show(bool show = true) const {}
    void queryCursor(Point<int32>& position) const;
    void swapBuffers() const;
    int32 processContinue();
    
private:
    int32 create(char const* className, char const* windowName);
    bool createContext();
    void deleteContext();
    
public:
    
};
    
}

#endif  //__IPHONE_3_0

#endif	//IOSWINDOW_H_
